From: Juanma Barranquero Date: Tue, 18 May 2010 08:08:33 +0000 (+0200) Subject: * charset.c (load_charset_map_from_file): Don't call close after fclose. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~7699 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=48ea7fe3cee16033043bb9b5d0d6542825230b01;p=emacs.git * charset.c (load_charset_map_from_file): Don't call close after fclose. --- diff --git a/src/ChangeLog b/src/ChangeLog index c6977b666f4..d32e961d55b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-05-18 Juanma Barranquero + + * charset.c (load_charset_map_from_file): Don't call close after fclose. + 2010-05-18 Glenn Morris * s/gnu-linux.h: Combine two conditionals. diff --git a/src/charset.c b/src/charset.c index 18c0bbb6310..f83fa994536 100644 --- a/src/charset.c +++ b/src/charset.c @@ -567,7 +567,6 @@ load_charset_map_from_file (charset, mapfile, control_flag) n_entries++; } fclose (fp); - close (fd); load_charset_map (charset, head, n_entries, control_flag); SAFE_FREE ();